bpo-27513: email.utils.getaddresses() now handles Header objects (GH-13797) (#27245)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 19 Jul 2021 17:28:56 +0000 (10:28 -0700)
committerAndrej Shadura <andrewsh@debian.org>
Tue, 20 Jan 2026 10:45:10 +0000 (11:45 +0100)
commit1a46ca433ad4c8c3fdb30891176f6a17ce5ddedc
tree60c4f5284ef08ac28847c097b3d19bc9b8aa6fc8
parent888a528fbbe250e950b7558a277104119653df05
bpo-27513: email.utils.getaddresses() now handles Header objects (GH-13797) (#27245)

getaddresses() should be able to handle a Header object if passed
one.

Co-authored-by: Ɓukasz Langa <lukasz@langa.pl>
(cherry picked from commit 89f4c34797de2f0e5045da2b97c1c8cbbb42fbb2)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Gbp-Pq: Name 0014-bpo-27513-email.utils.getaddresses-now-handles-Heade.patch
Lib/email/utils.py
Lib/test/test_email/test_email.py